import React from 'react'
import ReactDOM from 'react-dom/client'
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('en')
import './index.css'
import { RouterProvider } from 'react-router-dom';
import { router } from './router/router.tsx';
import { ConfigProvider } from 'antd';
import zh_CN from 'antd/es/locale/zh_CN';
import 'moment/dist/locale/zh-cn';
ReactDOM.createRoot(document.getElementById('root')!).render(
  <ConfigProvider locale={zh_CN}>
    {/* <React.StrictMode> */}
      <RouterProvider router={router} />
    {/* </React.StrictMode>, */}
  </ConfigProvider>
)
